package com.jhgsys.internal.sypq.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jhgsys.internal.common.entity.BaseEntity;

import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

import lombok.*;


/**
 * 任务所需附体 Entity
 *
 * @author ganjun
 * @date 2024-11-18 10:54:56
 */
@Data
@TableName("sypq_task_attach")
@AllArgsConstructor
@NoArgsConstructor
public class TaskAttach extends BaseEntity implements Serializable {

    /**
     * 
     */
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务编号
     */
    @TableField("task_code")
    @Size(max = 32, message = "{noMoreThan}")
    private String taskCode;

    /**
     * 
     */
    @TableField("attach_code")
    @Size(max = 32, message = "{noMoreThan}")
    private String attachCode;

    //要求完成时间
    //@TableField("demand_enddate")
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //private Date demandEnddate;
    //
    ////实际完成时间
    //@TableField("actually_enddate")
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //private Date actuallyEnddate;
}